package com.xrit.dao;

import com.xrit.pojo.Departments;
import com.xrit.pojo.Employess;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface EmpDao {

    List<Employess> findAll();

    List<Departments> findAllDept();

    void insert(Employess employess);

    void delete(Integer empId);

    void update(Employess employess);
}
